package com.elbis.access.wg.api.response.auth;

import java.util.Date;

import com.elbis.access.wg.api.response.WOTResponseEntity;

public class OpenIDLoginResponse extends WOTResponseEntity {

	private static final long serialVersionUID = -4224039387648537248L;

	private String access_token = null;

	private Long account_id = null;

	private String nickname = null;

	private Date expires_at = null;

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("[");
		builder.append("Nickname=");
		builder.append(nickname);
		builder.append("|");
		builder.append("Account ID=");
		builder.append(account_id);
		builder.append("|");
		builder.append("Access token=");
		builder.append(access_token);
		builder.append("|");
		builder.append("Expires at=");
		builder.append(expires_at);
		builder.append("|");
		builder.append("Error=");
		builder.append(error);
		builder.append("]");
		return builder.toString();
	}

	public String getAccess_token() {
		return access_token;
	}

	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}

	public Long getAccount_id() {
		return account_id;
	}

	public void setAccount_id(Long account_id) {
		this.account_id = account_id;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Date getExpires_at() {
		return expires_at;
	}

	public void setExpires_at(Date expires_at) {
		this.expires_at = expires_at;
	}

}
